home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / ca29_4.zip / OVERLAY.DOC < prev    next >
Text File  |  1991-07-22  |  2KB  |  49 lines

  1. -------------------------------------------------------------------------------
  2. 910710                COM-AND Script Overlay            Page  1
  3. -------------------------------------------------------------------------------
  4. Included in this release is a file overlay archive.  It contains:
  5. -------------------------------------------------------------------------------
  6.  
  7.  
  8.     OVERLAY.ASM
  9.  
  10.        Assembler source file.  Compile with "MASM OVERLAY;".  This file
  11.        defines two overlay routines, one to display a string through
  12.        BIOS, and a second to return the segment address.
  13.  
  14.     OVERLAY.OBJ
  15.  
  16.        MASM output from compilation of OVERLAY.ASM.  Link with the
  17.        command "LINK OVERLAY;" to create EXE file.
  18.  
  19.     OVERLAY.EXE
  20.  
  21.        LINK output.  Not directly executable!  Properly, would be renamed
  22.        to OVERLAY.OVL to prohibit running from the DOS prompt.  Convert
  23.        to COM format with the command "EXE2BIN OVERLAY.EXE OVERLAY.COM".
  24.  
  25.     OVERLAY.COM
  26.  
  27.        EXE2BIN output.  Not directly executable!  Could be renamed as
  28.        OVERLAY.OVL (as above) to prohibit running from the DOS prompt.
  29.        Whether the COM or EXE file is used, the script must have the
  30.        proper file name for the executable.
  31.  
  32.     OVERLAY.CMD
  33.  
  34.        COM-AND script to use OVERLAY.EXE or OVERLAY.COM.  This script,
  35.        when invoked, loads the OVERLAY.EXE (or COM if you change it),
  36.        and then invokes the two entry points in the overlay.
  37.  
  38.     --------------------------------------------------------------------
  39.     This overlay requires no 'cleanup' on termination.  Therefore the
  40.     script that loads it does not set an exit script to terminate the
  41.     overlay in an orderly manner.  Similarly, no end-entry address is
  42.     specified in the OVERLAY statement for execution upon termination.
  43.  
  44.     Albeit not a very interesting function proper, OVERLAY demonstrates
  45.     the coding and use of machine language subroutines to COM-AND scripts.
  46.     Overlays may be coded to interface DOS and BIOS interrupts, or more
  47.     sophisticated modules such as the demonstration TALKER.*.  Enjoy!
  48.  
  49.